function verificarDoc()
{
	
	var doc = document.getElementById("busdocumento").value;

	if(doc.length > 0)
	{
		document.getElementById("btndocu").disabled = true;
		document.formulario.accion.value='buscar';
		document.formulario.submit();
	}else
	{
		document.getElementById("busdocumento").value = "";
		alert("No ha ingresado un documento.");
	}
	
	
}


function esTeclaNumero(evt)
{
         var charCode = (evt.which) ? evt.which : event.keyCode
         if (charCode > 31 && (charCode < 48 || charCode > 57))
            return false;

         return true;
}

